<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>

       /*  2.创建对象 new Object()
        3. {}
        基本语法 new 构造函数()
        new Array()   后者简写  []  创建一个空数组
        new Object()  后者简写为{}  创建一个空对象  
        var obj1 = new Object()  //创建一个空对象
        var obj2 = {}
        console.log(obj1,obj2);  //空对象 */
        var fn = function(skii,sk1) {
           
        }

        fn('刨坑','打滚')
        console.log(yy.age);
        yy.hobby();
    </script>
</body>
</html>